package com.example.service;

import com.example.pojo.JobDTO;

import java.util.List;

public interface JobService {
    static final String NOT_EXISTS_THIS_JOB = "没有这个JOB！";
    static final String NOT_EXISTS_THIS_TRIGGER = "没有这个Trigger";

    List<JobDTO> getAllJobs();
    String pauseJob(JobDTO jobDTO);
    String pauseAllJobs();
    String resumeJob(JobDTO jobDTO);
    String resumeAllJobs();
    String startJob(JobDTO jobDTO);
    String deleteJob(JobDTO jobDTO);
    String addJob(JobDTO jobDTO);
    String modifyJobTrigger(JobDTO jobDTO);
}
